//
//  ScrollHeader.h
//  网易Header
//
//  Created by 何欣 on 15/7/1.
//  Copyright (c) 2015年 何欣. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HomeScrollHeader;

@protocol ScrollHeaderDelegate <NSObject>
/**
 *  点击按钮触发的代理方法
 *
 *  @param index 点击的数组的下标
 */
-(void)clickButtonAtIndex:(NSInteger)index;

@end

@interface HomeScrollHeader : UIView

@property(nonatomic,assign)id<ScrollHeaderDelegate>delegate;

-(void)setScrollHeaderButtonTitleArray:(NSArray *)array;

-(void)setScrollToIndex:(NSInteger)integer;


@end
